import http from '../http'

/**
 * 301. 获取藏品名称列表
 * @param data
 */
export function getCollectionNameList() {
  return http.get('collection/getCollectionNameList')
}
/**
 * 302. 获取作者名称列表
 * @param data
 */
export function getAuthorNameList() {
  return http.get('collection/getAuthorNameList')
}
/**
 * 302. 获取寄售列表
 * @param data
 */
export function consignmentList(data: {
  page: number
  page_size: number
  sort_id: string
  collection_id: string
  author_id: string
}) {
  return http.get('/collection/consignmentList', {
    params: {
      ...data
    }
  })
}
